Joshua is a dramatic real-life illustration of the faithfulness of God and the consequences of sin, as we read, for instance, about the dramatic victory at Jericho followed by the shocking defeat at Ai. What was the difference between Jericho and Ai? It was sin. When we stand with God, we can confidently do all that he directs us to do. When we stand alone, in unconfessed sin and disobedience, we have only our own strength to lean on.